<?php

declare(strict_types=1);

namespace App\CustHub\Model;

use Mine\MineModel;

/**
 * @property int $id 
 * @property int $robot_id 
 * @property int $type 类型：0=登录 1=退出
 * @property string $remark 备注信息
 * @property string $ip ip
 * @property string $created_at 创建时间
 */
class ChRobotLoginLog extends MineModel
{
    public bool $timestamps = false;
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'ch_robot_login_log';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'robot_id', 'type', 'remark', 'ip', 'created_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'robot_id' => 'integer', 'type' => 'integer'];
}
